package com.ksyun.onepass.domain.common;

import com.fasterxml.jackson.annotation.JsonProperty;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

public class TradeResponse implements Serializable {

    @JsonProperty("msg")
    private String msg;

    public TradeResponse() {
    }

    public TradeResponse(String msg, int code, String requestId, Object data) {
        this.msg = msg;
        this.code = code;
        this.requestId = requestId;
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @JsonProperty("code")
    private int code;

    @JsonProperty("requestId")
    private String requestId;

    @JsonProperty("data")
    private Object data;

    // 构造函数和 getter/setter 方法省略
}
